package mylab.io.base.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import mylab.base.foundation.lang.IntEnum;


@Getter
@AllArgsConstructor
public enum MsgType implements IntEnum {

    //@formatter:off
    Undefined       (0, "Undefined"),
    Info            (1, "Info"),
    Data            (2, "Data"),
    Alarm           (3, "Alarm"),
    Event           (4, "Event"),
    Log             (5, "Log"),
    Get             (6, "Get"),
    Set             (7, "Set"),
    Ota             (8, "Ota"),
    //@formatter:on
    ;

    private final Integer value;
    private final String label;
}
